projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61fff72
)
blktap2: fix libgcrypt detection
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 23 Nov 2009 06:42:12 +0000
(06:42 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 23 Nov 2009 06:42:12 +0000
(06:42 +0000)
If we want to check the functionality of libgcrypt, we shouldn't test
a function only exported by openssl, but instead the one actually used
in the code.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
tools/blktap2/drivers/check_gcrypt
patch
|
blob
|
history
diff --git
a/tools/blktap2/drivers/check_gcrypt
b/tools/blktap2/drivers/check_gcrypt
index 88209a0e76ad1a808d953679fb6d58654c2e3ef8..09d524bbfe48561072a7f09020686f2c9938b536 100644
(file)
--- a/
tools/blktap2/drivers/check_gcrypt
+++ b/
tools/blktap2/drivers/check_gcrypt
@@
-4,8
+4,7
@@
cat > .gcrypt.c << EOF
#include <gcrypt.h>
int main(void)
{
- char dummy[14];
- MD5("DUMMY", 5, dummy);
+ gcry_md_hash_buffer(GCRY_MD_MD5, NULL, NULL, 0);
return 0;
}
EOF